package fr.afcepf.ai85.gepeto.managedBean;

import java.util.List;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

import fr.afcepf.ai85.ent.TypeEcole;
import fr.afcepf.ai85.gepeto.service.ServiceEcole;
import fr.afcepf.ai85.gepeto.service.ServicePeriode;

@ManagedBean(name = "beanEcole")
@SessionScoped
public class BeanEcole {

	List<String> listeEcoles;

	public BeanEcole() {
		ListeDesEcoles();
	}

	public List<String> getListeEcoles() {
		return listeEcoles;
	}

	public void setListeEcoles(List<String> listeEcoles) {
		this.listeEcoles = listeEcoles;
	}

	public String ListeDesEcoles() {

		ServiceEcole ServInscr = new ServiceEcole();
		listeEcoles = ServInscr.ListeDesEcoles();
		
		return "";
	}

}
